package com.joker.service;

import com.joker.dao.GroupMember;
import com.joker.pojo.Group;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class GroupServiceImpl implements GroupService{
    public GroupMember groupMember;

    @Override
    public ArrayList<Group> selectall() {
        return groupMember.selectall();
    }

    @Override
    public Group selectid(int id) {
        return groupMember.selectid(id);
    }


    public void setGroupMember(GroupMember groupMember) {
        this.groupMember=groupMember;
    }
}
